package com.qys.livesMall.app.user.model.vo.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/06/02
 * Time: 10:38
 * DESCRIPTION: 用户关注列表
 */
@Data
public class AppUserConcernVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关注id")
    private Long concernId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "关注时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime concernTime;

    @Schema(description = "粉丝量")
    private Integer fans;

    @Schema(description = "店铺ID")
    private Long shopId;

    @Schema(description = "用户显示Id（用户账号）")
    private String userRandomId;

    @Schema(description = "主播名称")
    private String anchorName;

    @Schema(description = "直播状态 1:未开播  2：开播中")
    private Byte liveStatus;

    @Schema(description = "是否展示(0不展示，1展示)")
    private Integer exhibition;

    @Schema(description = "是否互关(0否，1是)")
    private Integer mutual;

    @Schema(description = "真实用户显示Id（用户账号）")
    private String newUserRandomId;

    //直播间粉丝团用字段
    @Schema(description = "是否房管(0否，1是)")
    private Integer roomAdmin;
}
